

import service from '@/utils/request';

// 获取验证码
export function captcha(params) {
    return service.get('/api/captcha', { params: params });
}

// 登录
export function login(data) {
    return service.post('/api/login', data);
}

